package com.zj.transactionspringboot01.domain;

import java.io.Serializable;

/**
 * teacher
 */
public class Teacher implements Serializable {
    private Integer id;

    private String name;

    private String phonenum;

    private String idno;

    private String address;

    private Object sex;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhonenum() {
        return phonenum;
    }

    public void setPhonenum(String phonenum) {
        this.phonenum = phonenum;
    }

    public String getIdno() {
        return idno;
    }

    public void setIdno(String idno) {
        this.idno = idno;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Object getSex() {
        return sex;
    }

    public void setSex(Object sex) {
        this.sex = sex;
    }

    public Teacher( String name, String phonenum, String idno, String address, Object sex) {
        this.name = name;
        this.phonenum = phonenum;
        this.idno = idno;
        this.address = address;
        this.sex = sex;
    }
    public Teacher() {
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", phonenum='" + phonenum + '\'' +
                ", idno='" + idno + '\'' +
                ", address='" + address + '\'' +
                ", sex=" + sex +
                '}';
    }
}